//
//  DFUserCollectionCell.m
//  DFront
//
//  Created by lanou on 15/10/30.
//  Copyright © 2015年 xuzenghui. All rights reserved.
//

#import "DFUserCollectionCell.h"

@implementation DFUserCollectionCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _nameLab = [[UILabel alloc]initWithFrame:CGRectMake(10, 5, kScreenWidth - 80, 30)];
        _priceLab = [[UILabel alloc]initWithFrame:CGRectMake(kScreenWidth - 80, 5, 80, 30)];
        _priceLab.textColor = [UIColor redColor];
        
        [self.contentView addSubview:_nameLab];
        [self.contentView addSubview:_priceLab];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
